<?php
session_start(); //Do not remove this
    if (!isset($_SESSION['login'])){$_SESSION['login']='';}
$username = isset($_POST['username'])? $_POST['username'] : '';
$password = isset($_POST['password'])? $_POST['password'] : '';

if (($username == 'donghq'||$username == 'admin'||$username == 'namnt')&&$password=='123@123'){
	$_SESSION['login'] = '123!@#';
	echo 'logged in';
} else {
	echo 'fail'.$username.$password;
}
?>